<?php
/**
 * Created by PhpStorm.
 * User: Aliaksei Lazerka
 * Date: 10/22/14
 * Time: 10:12 PM
 */

include_once("functions/db_manipulate.php");

addListSubElement($_POST['listRoot'], $_POST['subTitle']);

header('Location: '.$_SERVER['HTTP_REFERER']);